package com.music.dao;

import com.music.pojo.Admin;
import org.springframework.stereotype.Repository;

/**
 * @author qinghua
 */
@Repository
public interface AdminMapper {
    
    /**
     * @Description
     * @Param [id]
     * @return int
     * @Author qinghua 
     * @Date 2022/5/2 9:28 
     **/
    int deleteByPrimaryKey(Integer id);

    /**
     * @Description
     * @Param record
     * @return int
     * @Author qinghua
     * @Date 2022/5/2 9:44
     **/
    int insert(Admin record);

    /**
     * @Description
     * @Param record
     * @return int
     * @Author qinghua
     * @Date 2022/5/2 9:41
     **/
    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    /**
     * @Description
     * @Param username
     * @Param password
     * @return int
     * @Author qinghua
     * @Date 2022/5/2 9:43
     **/
    int verifyPassword(String username, String password);

}